package org.example;

import java.net.URL;

public class Main {

    public void printInfo() {
        URL resource = this.getClass().getResource("");
        System.out.println("地址是:"+resource.getPath());
    }
}
